Release 10.1A: OpenEdge Development:
Progress 4GL Reference


GT or > operator

Returns a TRUE value if the first of two expressions is greater than the second expression.

Syntax

expression { GT | > } expression 

expression

A constant, field name, variable name, or any combination of these. The expressions on either side of the GT or > must be of the same data type, although one might be integer and the other decimal.

Example

This procedure lists all items that have a negative on-hand quantity or more than 90% of the on-hand inventory currently allocated:

r-gt.p
FOR EACH item:
  IF allocated > 0
  THEN IF (on-hand <= 0) OR
     (allocated / on-hand > .9)
  THEN DISPLAY item-num item-name on-hand allocated.
END. 

Notes


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095